<template>
	<view class="container">
		<view class="promotion_entrance">
			<image :style="{width:quanyizhongxin_w,height:quanyizhongxin_h}"  :src="'https://zhangjie.jdmuguzhid.com/uploads/代理.jpg'"></image>
		</view>
		<view :style="{width:lijikaitong_w,height:lijikaitong_h}" class="lijikaitong1 lijikaitong" v-on:click="xiangqing(1)"></view>
		<view :style="{width:lijikaitong_w,height:lijikaitong_h}" class="lijikaitong2 lijikaitong" v-on:click="xiangqing(2)"></view>
		<view :style="{width:lijikaitong_w,height:lijikaitong_h}" class="lijikaitong3 lijikaitong" v-on:click="xiangqing(3)"></view>
	</view>
</template>
<style>
	.lijikaitong1{
		margin-top: -115%;
		position: absolute;
	}
	.lijikaitong2{
		margin-top: -79%;
		position: absolute;
	}
	.lijikaitong3{
		margin-top: -43%;
		position: absolute;
	}
</style>
<script>
	//#ifdef H5
	import wxjs   from '../../jweixin/lib/index.js';
	//#endif
	export default {
		data() {
			return {
				quanyizhongxin_w:'40px',
				quanyizhongxin_h:'40px',
				lijikaitong_w:'40px',
				lijikaitong_h:'40px'
			}
		},
		onLoad(e) {
			var res = uni.getSystemInfoSync();
			var w = res.windowWidth;
			this.quanyizhongxin_w = w+'px';
			this.quanyizhongxin_h = w*1.225333+'px';
			this.lijikaitong_w = w+'px';
			this.lijikaitong_h = w/3.75+'px';

		},
		onShow(){

		},
		methods: {
			xiangqing:function(id)
			{
				uni.navigateTo({
					url:"yizhanxiangqing?id="+id
				})
			},
			initialize:function()
			{

			}
		}
	}

</script>


